Selecting TLS Context

The /files/tls/<id> URL provides access to the specific TLS context by its <id>.

URL

/api/v1/files/tls/<id>

HTTP Method

GET

HTTP Responses

200 OK

Example

Request:
GET /api/v1/files/tls/2 HTTP/1.1
Host: 10.4.219.229 
Response:
HTTP/1.1 200 OK
Content-Type: application/json
{
    "items": [
        {
            "id": "privateKey",
            "description": "Private key",
            "url": "/api/v1/files/tls/2/privateKey"
        },
        {
            "id": "certificate",
            "description": "TLS certificate",
            "url": "/api/v1/files/tls/2/certificate"
        },
        {
            "id": "trustedRoot",
            "description": "Trusted root",
            "url": "/api/v1/files/tls/2/trustedRoot"
        }
    ]
}